<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>个人中心 - 夜读书</title>
    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="author" content="夜读书">
    <meta name="description" content="夜读书。">
    <meta name="keywords" content="夜读书">
    <link rel="stylesheet" href="{{ asset('/bootstrap-3.3.5-dist/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/style/css/mobile.css') }}">    
    <script src="{{ asset('/scripts/jquery/jquery-1.11.3.min.js') }}"></script>
    <script src="{{ asset('/bootstrap-3.3.5-dist/js/bootstrap.min.js') }}"></script>
</head>
<body>
@include('mobile.nav')
<div id="myhome">

    <div class="header">
        <div class="face">
        @if($users->avatar_file != '')
            <img src="http://www.yedushu.com/{{$users->avatar_file}}"></img>
        @else
            <img src="http://www.yedushu.com/usersface/default/avatar-max.png"></img>
        @endif
        </div>
        <div class="name">{{$users->user_name}}</div>
        <div class="uinfo">书币:{{$users->shubi}}</div>
    </div>

    <div class="mydu item">
        <div class="mytitle">我的读书</div>
        <!-- <div class="info1">
            <div class="row">
                <div class="col center icon_size txt">
                    <img src="../../images/mobile/icon_collect_article.png"></img>
                    <div class="text">书单</div>
                </div>
                <div class="col center icon_size txt">
                    <img src="../../images/mobile/icon_collect_tiezi.png"></img>
                    <div class="text">书评</div>
                </div>
                <div class="col center icon_size txt">
                    <img src="../../images/mobile/icon_integral.png"></img>
                    <div class="text">书币商城</div>
                </div>                  
                <div style="clear:both;"></div>
            </div>
        </div> -->
        <a href="{{url('mobile/readstate/2/' . $users->uid)}}">
        <div class="sz">
            <span>正在读的书</span><span style="float:right;">{{$reading}}</span>
        </div>
        </a>
        <a href="{{url('mobile/readstate/1/' . $users->uid)}}">
        <div class="sz"><span>想读的书</span><span style="float:right;">{{$readwant}}</div></a>
        <a href="{{url('mobile/readstate/3/' . $users->uid)}}">
        <div class="sz"><span>读过的书</span><span style="float:right;">{{$readed}}</div>
        </a>
    </div>

    <div class="myshucheng item">
        <div class="mytitle">我的书包</div>
        <!-- <div class="order ub bc-text-head">
            <div class="footer_width">
                <div class="center sc-text-tab"><img style="width:35px;height:width:35px;" src="../../images/mobile/cart.png"></img></div>
                <div class="text center">购物车(1)</div>
            </div>
            <div class="footer_width">
                <div class="center sc-text-tab"><img style="width:35px;height:35px;" src="../../images/mobile/order_sell.png"></img></div>
                <div class="text center">卖出订单(1)</div>
            </div>
            <div class="footer_width" onclick="openbuy();">
                <div class="center sc-text-tab"><img style="width:35px;height:35px" src="../../images/mobile/order_buy.png"></img></div>
                <div class="text center">我的订单(1)</div>
            </div>            
            <div style="clear:both;"></div>
        </div> -->
        <a href="{{url('mobile/ushop/'. $users->uid)}}"><div class="chushou"><span>转让中的书籍 ({{$bagscount}})</span></div></a>
    </div>

    <div class="shezhi item">
        <div class="mytitle">我的设置</div>
        <a href="{{asset('u/' . $users->uid)}}/admin/profile"><div class="sz"><span>修改个人资料</span></div></a>
        <a href="{{asset('u/' . $users->uid)}}/admin/editface"><div class="sz"><span>更改头像图片</span></div></a>
        <a href="{{asset('u/' . $users->uid)}}/admin/chpwd"><div class="sz"><span>修改登录密码</span></div></a>
        <a href="{{url('about')}}"><div class="sz"><span>关于夜读书</span></div></a>
    </div>
        
</div> 

@include('mobile.footer')
</body>
</html>